package cn.iocoder.yudao.module.erp.controller.admin.contractpaymentplan.vo;

import cn.iocoder.yudao.module.erp.controller.admin.contractpaymentplan.vo.contractpaymentplandetail.ContractPaymentPlanDetailRespVO;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Schema(description = "管理后台 - 合同付款计划 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ContractPaymentPlanRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "2313")
    private Long id;

    @Schema(description = "合同id", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long contractId;

    @Schema(description = "合同编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("合同编号")
    private String contractNo;

    @Schema(description = "合同乙方名称", example = "赵六")
    @ExcelProperty("合同乙方名称")
    private String supplierName;

    @Schema(description = "合同名称", example = "赵六")
    @ExcelProperty("合同名称")
    private String contractName;

    @Schema(description = "付款计划编号")
    @ExcelProperty("付款计划编号")
    private String planNo;

    @Schema(description = "付款备注", example = "随便")
    @ExcelProperty("付款备注")
    private String paymentRemark;

    @Schema(description = "计划内容")
    private List<ContractPaymentPlanDetailRespVO> detailRespVOS;
}